<?php if($newsItem): ?>
	<?php if($newsItem['picture']): # show newItem picture ?>
		<?php include_partial('folderPicture/render',array('node' => $newsItem)) ?>
	<?php else: # show structure picture ?>
		<?php include_component('folderPicture','render') ?>
	<?php endif; ?>

	<?php include_partial('article/render',array('title' => $newsItem['name'], 'content' => $newsItem['content'])) ?>
<?php else: ?>
	<?php include_component('folderPicture','render') ?>
	<?php include_component('newsBlockWidget','render') ?>
<?php endif; ?>